html, body {
    margin: 0;
    padding: 0;
}
.head {
    background: #ccc;
padding: 10px;
color: #000;
font-size: 20px;
box-shadow: 0 0px 10px #000;
font-family: Tahoma;
position: relative;
}
#addpostb {
    display: block;
    line-height: 20px;
    margin: 0 auto;
}
#titleform {
    display: block;
    margin: 20px auto 10px auto;
}
.addform {
    display: none;
    background: #ddd;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-family: Tahoma;
}
.addform form {
    text-align: right;
    margin: 0 auto;
    width: auto;
    display: inline-block;
}
.addform form label {
    width:120px;
    display: block;
    float:left;
}
#msg {
    line-height: 40px;
    padding: 0 10px;
    background: #B0DFB4;
}
.postlist {
    
    width: 60%;
    margin: 10px auto;
}
.postlist .postwrapper {
    width: 100%;
    padding:5px 0;
}
.postlist .postwrapper > .autor {
    width: 100%;
    text-align: right;
    font-size: 12px;
}
.postlist .postwrapper > .text {
    width: 100%;
    text-align: left;
    resize: none;
    font-size: 12px;
}
.postlist .postwrapper > .time {
    float: right;
    text-align: right;
    font-size: 10px;
}
.postlist .postwrapper > .delete {
    float: left;
    text-align: right;
    font-size: 10px;
    border-bottom: 1px dotted #000;
    cursor: pointer;
}
.postlist .postwrapper > .change {
    float: left;
    text-align: right;
    font-size: 10px;
    margin: 0 5px;
    border-bottom: 1px dotted #000;
    cursor: pointer;
}
.postlist .postwrapper > .addc {
    float: left;
    text-align: right;
    font-size: 10px;
    margin: 0 5px;
    border-bottom: 1px dotted #000;
    cursor: pointer;
}
.postlist .commentwrapper {
    width: 60%;
    float: right;
    padding:5px 0;
}
.postlist .commentwrapper > .autor {
    width: 100%;
    text-align: right;
    font-size: 12px;
}
.postlist .commentwrapper > .text {
    width: 100%;
    text-align: left;
    font-size: 12px;
    resize: none;
}
.postlist .commentwrapper > .time {
    float: right;
    text-align: right;
    font-size: 10px;
}
.postlist .commentwrapper > .delete {
    float: left;
    text-align: right;
    font-size: 10px;
    border-bottom: 1px dotted #000;
    cursor: pointer;
}
.postlist .commentwrapper > .change {
    float: left;
    text-align: right;
    font-size: 10px;
    margin: 0 5px;
    border-bottom: 1px dotted #000;
    cursor: pointer;
}
